'Copyright (C) 2009 Christiaan Cable
'
'This program is free software; you can redistribute it and/or
'modify it under the terms of the GNU General Public License
'as published by the Free Software Foundation; either version 3
'of the License, or (at your option) any later version.
'
'This program is distributed in the hope that it will be useful,
'but WITHOUT ANY WARRANTY; without even the implied warranty of
'MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
'GNU General Public License for more details (LICENCE.TXT).

Public Class ISPReturnData
    Public PeakDownload As Single
    Public PeakUpload As Single
    Public OffpeakDownload As Single
    Public OffpeakUpload As Single

    Public PeakNow As Boolean = True
    Public OffpeakNow As Boolean = False

    Public PeakShaped As Boolean = False
    Public OffpeakShaped As Boolean = False
    Public ShapedNow As Boolean = False

    Public LastUpdated As Date

    Public DaysUsed As Single = 0
    Public DaysLeft As Single = 0

    Public RolloverDate As Date

    Public PeakUsageValue As Single = 0
    Public PeakUsageRemainingDescription As String
    Public PeakUsageAverageDescription As String
    Public PeakUsageRemainingPerDayDescription As String

    Public OffpeakUsageValue As Single = 0
    Public OffpeakUsageRemainingDescription As String
    Public OffpeakUsageAverageDescription As String
    Public OffpeakUsageRemainingPerDayDescription As String

    Public ErrorMessage As String = ""
    Public GraphItemList As New ArrayList
    Public TextItemList As New ArrayList

    Public Status As Integer = 1
    '1 = waiting
    '2 = ok
    '3 = error

    Public ShowWarning As Boolean = False


    Public UsageDeltaValue As Single
    Public UsageDeltaDescription As String



End Class
